//
//  LYFDiscoverDataModel.m
//  段子手
//
//  Created by dllo on 16/3/19.
//  Copyright © 2016年 JokesTeam. All rights reserved.
//

#import "LYFDiscoverDataModel.h"

@implementation LYFDiscoverDataModel

- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super initWithDic:dic];
    if (self) {
        
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"rotate_banner"]) {
        self.rotate_bannerModelArr = [LYFDiscoverRotate_bannerModel modelHandelWithArray:value[@"banners"]];
    }
    if ([key isEqualToString:@"categories"]) {
        self.category_listModelArr = [LYFDiscoverModel modelHandelWithArray:value[@"category_list"]];
    }
}

@end
